package com.lzh.chatnote.chat.domain.vo.response.contact;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("聊天室信息")
@Data
public class ChatRoomResp {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("房间名称")
    private String roomName;
    @ApiModelProperty("房间头像")
    private String roomAvatar;
    @ApiModelProperty("房间类型 1群聊 2单聊")
    private Integer roomType;
    @ApiModelProperty("是否全员展示的会话 0否 1是")
    private Integer hotFlag;
    @ApiModelProperty("回话时间")
    private LocalDateTime activeTime;
    @ApiModelProperty("最新消息")
    private String text;
    @ApiModelProperty("未读数")
    private Integer unreadCount;
}
